package cn.udrm.water.base.v1.waterintake.entities;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

import lombok.Getter;
import lombok.Setter;

import org.hibernate.annotations.GenericGenerator;

/**
 * 灌区类型
 * 一般有：蓄水灌区、自流引水灌区、井灌区、提水灌区
 * 		也可能是组合灌区（多种类型的组合）
 * @author liukang
 * @date 2018-11-07
 */
@Getter
@Setter
@Entity(name="IrriagtedAreaType")
@Table(name="F_IRRIAGTED_AREA_TYPE")
public class IrriagtedAreaType {
	
	@Id
	@GenericGenerator(name="idGenerator", strategy="uuid")
	@GeneratedValue(generator="idGenerator")
	@Column(name="ID")
	private String id;
	/*
	 * 系统编码
	 */
	@Column(name="ENTITY_CODE")
	private String entityCode;
	@Column(name="CREATE_DATE")
	private Date createDate;
	@Column(name="PERSON_GUID")
	private String personGuid;
	@Column(name="PERSON_NAME")
	private String personName;
	@Column(name="CREATE_TIME")
	private Date createTime;
	/*
	 * 桩号
	 */
	@Column(name="MILEAGE")
	private String mileage;
	/*
	 * 名称
	 */
	@Column(name="NAME")
	private String name;

}
